<?php $this->pageTitle=Yii::app()->name . ' - Changer mon mot de passe';
?>

<h1>Changer mon mot de passe</h1>

<div class="form" id="changePassword">
	<?php $form=$this->beginWidget('UActiveForm', array(
		'id'=>'changepassword-form',
		'enableAjaxValidation'=>true,
	)); ?>
	<table>
		<tr>
			<td class="libelleChangePassword"><?php echo $form->labelEx($model,'password'); ?></td>
			<td class="separateurChangePassword">:</td>
			<td class="champChangePassword"><?php echo $form->passwordField($model,'password'); ?></td>
			<td class="erreurChangePassword"><?php echo $form->error($model,'password'); ?></td>
		</tr>
		<tr>
			<td class="hint" colspan=4><?php echo UserModule::t("Minimal password length 4 symbols."); ?></td>
		</tr>
		<tr>
			<td class="libelleChangePassword"><?php echo $form->labelEx($model,'verifyPassword'); ?></td>
			<td class="separateurChangePassword">:</td>
			<td class="champChangePassword"><?php echo $form->passwordField($model,'verifyPassword'); ?></td>
			<td class="erreurChangePassword"><?php echo $form->error($model,'verifyPassword'); ?></td>
		</tr>
		<tr>
			<td class="boutonChangePassword" colspan=4>
				<table>
					<tr>
						<td><?php echo Chtml::link(CHtml::button("Retour"),$this->createUrl("/client/profil")) ?></td>
						<td><?php echo CHtml::submitButton("Valider"); ?></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<?php $this->endWidget(); ?>
</div><!-- form -->